home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR10
/
MAPEDIT.ZIP
/
SAMPGAME
/
CYBER.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-11
|
812b
|
47 lines
#include <dos.h>
#include <bios.h>
#include <stdio.h>
#include <malloc.h>
#include <stdarg.h>
unsigned int chkmouse(unsigned int x,unsigned int y);
#define scrptr (char far *)0xA0000000
#define putxys(a,b,c) fputxys(a*8,b*8,c)
#define waitup() while(mousebuttons())
#define TWOXS 200
#define TWOXE 303
#define TWOYS 24
#define TWOYE 136
struct token_struct {
unsigned int minx;
unsigned int maxx;
unsigned int miny;
unsigned int maxy;
unsigned int token;
};
char far *bufptr;
char far *csptr;
int far *mapptr;
struct sprite_struct {
int width;
int height;
FILE * start;
int xs;
int ys;
char *pict;
char name[20];
char dummy[20];
}si[100];
struct db_info {
int num_sprites;
char dummy[1000];
}db;